package is1;

public abstract class Salida 
{
	protected static Salida uniqueInstance;
	
	public static Salida getInstance() throws ExcepcionTPV
	{
		if (uniqueInstance == null)
			throw new ExcepcionTPV("No hay modo de salida definido");
		
		return uniqueInstance;
	}
	
	public abstract void escribirSalida(Venta v); 
}
